package com.jihu.design.behavioral.visitor;

/**
 * @author jihu
 * @date 2021/10/13
 */
public class Foot extends HardWare {

    public Foot(String command) {
        super(command);
    }

    @Override
    void work() {
        System.out.println("脚处理指令:"+command);
    }

    @Override
    public void accept(Vistor vistor) {
        vistor.visitFoot(this);
    }
}
